package cn.lucky.springcloud.lb;

import com.netflix.loadbalancer.Server;
import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * @author lingpeng.jiang
 * @create 2020-12-27-14:45
 */
public interface IConsumerRoundRobinRule {

    ServiceInstance getServiceInstance(List<ServiceInstance> serviceInstances);
}
